/*
 * UserHome.java
 *
 * Created on November 21, 2005, 4:21 AM
 *
 * To change this template, choose Tools | Options and locate the template under
 * the Source Creation and Management node. Right-click the template and choose
 * Open. You can then make changes to the template in the Source Editor.
 */

package org.wiztools.te.plugin;

import javax.swing.JFrame;
import javax.swing.JOptionPane;
import org.wiztools.te.TEMod;
import org.wiztools.te.TEProcessAdapter;

/**
 *
 * @author subhash
 */
public class UserHome extends TEProcessAdapter {
   
    private TEMod tem;
    
   public void setTEMod(TEMod tem){
       this.tem = tem;
   }
   
   public void action(){
       JOptionPane.showMessageDialog((JFrame)tem.getJD().getParent(), 
               System.getProperty("user.home"), "\"user.home\" System Property",
               JOptionPane.INFORMATION_MESSAGE);
   }
    
}
